<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<title>${info.title}</title>
	<link href="${app}/static/jquery-weui/css/weui.min.css" rel="stylesheet" type="text/css" />
	<link href="${app}/static/jquery-weui/css/jquery-weui.min.css" rel="stylesheet" type="text/css" />
	<link href="${app}/static/weixin/vote/index${info.moban}/touch.css" rel="stylesheet" type="text/css" />
	<link href="${app}/static/weixin/vote/index1/common.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${app}/static/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="${app}/static/js/common.utils.js"></script>
	<script type="text/javascript" src="${app}/static/jquery-weui/jquery-weui.min.js"></script>
	<style type="text/css">
		.pd-10{ padding: 10px;}
		.paihang{
			background-color: #72c0e6;
		}
		.paihang .datalist {
			margin:0 auto;margin-top:0px;width:95%;height:90px;
			border-radius: 4px;
			background: #fff;
			width: 100%;
			margin-bottom: 10px;
		}
		.paihang .datalist .tops {position:relative;height:92px}
		.paihang .datalist .tops .itemhg {position:absolute;top:0;left:0;width:70px;height:70px;text-align:center}
		.paihang .datalist .tops .itemhg img {margin-top:6px;width:30px;margin-left: 19px;}
		.paihang .datalist .tops .item1 {position:absolute;top:0;left:0;width:70px;height:70px;text-align:center}
		.paihang .datalist .tops .item1 img {margin-top:22px;margin-left: 10px;height: 50px; width: 50px; border-radius: 1000px}
		.paihang .datalist .tops .item2 {position:absolute;top:13px;right:75px;left:75px;overflow:hidden;height:70px;color:#727272;line-height:22px}
		.paihang .datalist .tops .item3 {position:absolute;top:20px;right:8px;color:#444;text-align:center;font-size:20px;line-height:50px}
		.cl-yellow{color: #fbc108;}
		.cl-999{color: #999;}
	</style>
</head>
<body>
<div class="notice"><marquee style="width: 100%; height: 18px" scrollamount="6" align="Middle" hspace="0" direction="Left">尊敬的家长朋友：      您好!新年伊始，我们即将迎来一个充满希望的春天，孙庄幼儿园将和您一起健康成长，发芽开花，在秋天收获累累硕果。      “三岁看六七岁看老”农村的父母都知道这个理，可是真正执行的却不多，因为他们大多有这样一个想法法，也可以说是担心孩子太小不懂事，怕他们什么也不会，担心白费力。其实，研究表明0-6周岁是性格形成期，大脑的布网期，智力的开发期，这段时期培养的好将事半功倍。   办园宗旨：为了孩子的一切，为了一切的孩子  本园特色：           动感英语：让每个幼儿积极参与在游戏中轻松学英语            手指算数：训练幼儿左右脑协调发展的同时在实践中轻松速算100以内连加减混合算法            立体拼音：在有韵律的儿歌中学习拼音使拼音立体化   开设课堂：趣味英语、九珠心算、快乐识字、创意绘画、少儿舞蹈、幼儿礼仪 开设班级：小班、中班、大班、学前班 招生对象：2.5周岁--6周岁  ​ 地址：柳新镇孙庄村  电话：18852196642</marquee></div>
<header>
	<div class="m_head clearfix">
		<div class="num_box">
			[#include "/weixin/vote/include/voteTop.html" /]
		</div>
	</div>
</header>
<section id="paihang" class="content" style="height: 800px; overflow-y: auto;">
	<input type="hidden" id="page" name="page" value="1" />
	<div class="paihang pd-10">

	</div>
	<div class="weui-loadmore">
		<i class="weui-loading"></i>
		<span class="weui-loadmore__tips">正在加载</span>
	</div>
</section>
[#include "/weixin/vote/include/voteRule.html" /]
[#include "/weixin/vote/include/voteFooter2.html" /]
</body>
<script type="text/javascript">
	var loading = false;
	$.showLoading();
	$(function($){
		$("#paihang").infinite(50).on("infinite", function() {
			if(loading) return;
			getItemList();
		});
		getItemList();
	});
	function getItemList(){
		loading = true;
		common.ajax('${app}/weixin/vote/getItems.shtml', "id=${info.id}&accountId=${info.account_id}&myzps=${info.myzps}&page="+$('#page').val()+"&flag=tpph", 'POST', 'JSON',
				true, function(result){
					if(result.nextPage == 0) {
						$("#paihang").destroyInfinite();
						$(".weui-loadmore").hide();
					}
					$('#page').val(result.nextPage);
					var list = result.list;
					for(var i=0; i<list.length; i++){
						var rank = ((result.pageNum-1)*result.pageSize+i+1);
						var rankStyle = "";
						var hgImg = "";
						if (rank <= 3) {
							rankStyle = 'style="color:#FC573D;"';
							hgImg = '<img src="${app}/static/weixin/vote/index1/hg1.gif">';
						} else if (rank <= 20) {
							hgImg = '<img src="${app}/static/weixin/vote/index1/hg2.gif">';
						}
						content = '<div class="datalist">'
								+'<a href="${app}/weixin/vote/itemInfo.shtml?id=${info.id}&accountId=${info.account_id}&itemId='+list[i]['id']+'">'
								+'<div class="tops">'
								+'<div class="itemhg">'+hgImg+'</div>'
								+'<div class="item1"><img src="${imgSite}'+list[i]['picurl1']+'"></div>'
								+'<div class="item2"><div style="font-size:15px;font-weight:bold">'+list[i]['item_name']+'&nbsp;&nbsp;'+list[i]['item_no']+'号</div>'
								+'<div class="cl-yellow">票数 '+list[i]['vcount']+'&nbsp;&nbsp;  '
								+'</div>'
								+'<div class="cl-999">'+list[i]['intro']+'</div></div>'
								+'<div class="item3" '+rankStyle+'>'+rank+'</div>'
								+'</div></a></div>';
						$(".paihang").append(content);
					}
					loading = false;
					$.hideLoading();
				});
	}
</script>
</html>